home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc1_2_x / smrtslds.sit / SmartSlides 1.1 Demo / card_6590.txt < prev    next >
Text File  |  1990-06-12  |  6KB  |  329 lines

  1. -- card: 6590 from stack: in.1 Demo
  2. -- bmap block id: 6826
  3. -- flags: 0000
  4. -- background id: 2635
  5. -- name: 
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: 0000
  11. -- rect: left=0 top=19 right=50 bottom=12
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 0 / 0
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Delay
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   if the optionKey is down then GiveHelp "Delay┬á"
  23.   else pass mouseUp
  24. end mouseUp
  25.  
  26. on mousedown
  27.   if the optionKey is up then pass mouseDown
  28. end mouseDown
  29.  
  30.  
  31. -- part 2 (button)
  32. -- low flags: 00
  33. -- high flags: 0000
  34. -- rect: left=0 top=55 right=86 bottom=12
  35. -- title width / last selected line: 0
  36. -- icon id / first selected line: 0 / 0
  37. -- text alignment: 1
  38. -- font id: 0
  39. -- text size: 12
  40. -- style flags: 0
  41. -- line height: 16
  42. -- part name: Beep
  43. ----- HyperTalk script -----
  44. on mouseUp
  45.   if the optionKey is down then GiveHelp "Beep┬á"
  46.   else pass mouseUp
  47. end mouseUp
  48.  
  49. on mousedown
  50.   if the optionKey is up then pass mouseDown
  51. end mouseDown
  52.  
  53.  
  54. -- part 3 (button)
  55. -- low flags: 00
  56. -- high flags: 0000
  57. -- rect: left=0 top=89 right=120 bottom=12
  58. -- title width / last selected line: 0
  59. -- icon id / first selected line: 0 / 0
  60. -- text alignment: 1
  61. -- font id: 0
  62. -- text size: 12
  63. -- style flags: 0
  64. -- line height: 16
  65. -- part name: LockScreen
  66. ----- HyperTalk script -----
  67. on mouseUp
  68.   if the optionKey is down then GiveHelp "LockScreen┬á"
  69.   else pass mouseUp
  70. end mouseUp
  71.  
  72. on mousedown
  73.   if the optionKey is up then pass mouseDown
  74. end mouseDown
  75.  
  76.  
  77. -- part 4 (button)
  78. -- low flags: 00
  79. -- high flags: 0000
  80. -- rect: left=0 top=123 right=154 bottom=12
  81. -- title width / last selected line: 0
  82. -- icon id / first selected line: 0 / 0
  83. -- text alignment: 1
  84. -- font id: 0
  85. -- text size: 12
  86. -- style flags: 0
  87. -- line height: 16
  88. -- part name: Opener
  89. ----- HyperTalk script -----
  90. on mouseUp
  91.   if the optionKey is down then GiveHelp "On OpenCard┬á"
  92.   else pass mouseUp
  93. end mouseUp
  94.  
  95. on mousedown
  96.   if the optionKey is up then pass mouseDown
  97. end mouseDown
  98.  
  99.  
  100. -- part 5 (field)
  101. -- low flags: 01
  102. -- high flags: 0000
  103. -- rect: left=16 top=12 right=45 bottom=487
  104. -- title width / last selected line: 0
  105. -- icon id / first selected line: 0 / 0
  106. -- text alignment: 1
  107. -- font id: 91
  108. -- text size: 24
  109. -- style flags: 0
  110. -- line height: 32
  111. -- part name: Title
  112.  
  113.  
  114. -- part 9 (field)
  115. -- low flags: 01
  116. -- high flags: 2002
  117. -- rect: left=330 top=110 right=242 bottom=447
  118. -- title width / last selected line: 0
  119. -- icon id / first selected line: 0 / 0
  120. -- text alignment: 1
  121. -- font id: 91
  122. -- text size: 18
  123. -- style flags: 0
  124. -- line height: 24
  125. -- part name: Rectangle
  126.  
  127.  
  128. -- part 8 (button)
  129. -- low flags: 00
  130. -- high flags: 0000
  131. -- rect: left=330 top=110 right=242 bottom=447
  132. -- title width / last selected line: 0
  133. -- icon id / first selected line: 0 / 0
  134. -- text alignment: 1
  135. -- font id: 0
  136. -- text size: 12
  137. -- style flags: 0
  138. -- line height: 16
  139. -- part name: Graph
  140. ----- HyperTalk script -----
  141. on mouseUp
  142.   if the optionKey is down then GiveHelp "Draw Graph┬á"
  143.   else pass mouseUp
  144. end mouseUp
  145.  
  146. on mousedown
  147.   if the optionKey is up then pass mouseDown
  148. end mouseDown
  149.  
  150.  
  151. -- part 7 (button)
  152. -- low flags: 80
  153. -- high flags: A003
  154. -- rect: left=386 top=284 right=306 bottom=486
  155. -- title width / last selected line: 0
  156. -- icon id / first selected line: 0 / 0
  157. -- text alignment: 1
  158. -- font id: 0
  159. -- text size: 12
  160. -- style flags: 0
  161. -- line height: 16
  162. -- part name: Area╩OK
  163. ----- HyperTalk script -----
  164. on mouseUp
  165.   send GetGraphLabels to field "Scripts"
  166. end mouseUp
  167.  
  168. on mouseDown
  169. end mouseDown
  170.  
  171.  
  172. -- part 6 (field)
  173. -- low flags: 81
  174. -- high flags: 2002
  175. -- rect: left=66 top=62 right=259 bottom=285
  176. -- title width / last selected line: 0
  177. -- icon id / first selected line: 0 / 0
  178. -- text alignment: 0
  179. -- font id: 3
  180. -- text size: 12
  181. -- style flags: 256
  182. -- line height: 16
  183. -- part name: GraphArea
  184. ----- HyperTalk script -----
  185. on mouseUp
  186. end mouseUp
  187.  
  188. on mouseDown
  189. end mouseDown
  190.  
  191.  
  192. -- part contents for background part 283
  193. ----- text -----
  194. 9
  195.  
  196. -- part contents for background part 33
  197. ----- text -----
  198. scroll left slowly to card
  199. scroll right slowly to card
  200.  
  201. -- part contents for card part 5
  202. ----- text -----
  203. Pie  Graph
  204.  
  205. -- part contents for background part 147
  206. ----- text -----
  207.  
  208. Enter X and Y numerical values
  209. in the columns at the left.
  210.  
  211. X values should be in ascending
  212. or descending order.
  213.  
  214. If X column is left empty,
  215. equal unlabelled intervals
  216. will be assumed.
  217.  
  218. For pie graphs, use Y column only.
  219.  
  220. -- part contents for background part 144
  221. ----- text -----
  222. 1
  223. 2
  224. 3
  225. 4
  226. 5
  227. 6
  228. 7
  229. 8
  230. 9
  231. 10
  232. 11
  233. 12
  234. 13
  235. 14
  236. 15
  237.  
  238. -- part contents for background part 143
  239. ----- text -----
  240. 7
  241. 8
  242. 10
  243. 13
  244. 14
  245. 12
  246. 9
  247. 7
  248. 6
  249. 6
  250. 7
  251. 9
  252. 13
  253. 19
  254. 22
  255.  
  256. -- part contents for background part 155
  257. ----- text -----
  258. 6
  259. 7
  260. Pie
  261. 8
  262.  
  263. -- part contents for card part 6
  264. ----- text -----
  265.  
  266.  
  267. Adjust the size and location of this field to the size and location desired for your graph.
  268.  
  269. Allow some room at left and bottom for labels.
  270.  
  271. Then restore browse tool 
  272. and click "Area OK".
  273.  
  274. -- part contents for background part 166
  275. ----- text -----
  276. 15
  277.  
  278. -- part contents for background part 173
  279. ----- text -----
  280. 25
  281.  
  282. -- part contents for background part 170
  283. ----- text -----
  284. 0
  285.  
  286. -- part contents for background part 177
  287. ----- text -----
  288. 0
  289.  
  290. -- part contents for background part 168
  291. ----- text -----
  292. 3
  293.  
  294. -- part contents for background part 175
  295. ----- text -----
  296. 5
  297.  
  298. -- part contents for background part 231
  299. ----- text -----
  300. MONTH
  301.  
  302. -- part contents for background part 230
  303. ----- text -----
  304. INCOME
  305.  
  306. -- part contents for background part 277
  307. ----- text -----
  308.  
  309.  
  310. Select desired type of graph:
  311.  
  312. -- part contents for card part 9
  313. ----- text -----
  314. Click
  315. Here
  316. to Draw
  317. Pie
  318. Graph
  319.  
  320. -- part contents for background part 142
  321. ----- text -----
  322.  
  323.  
  324.  
  325. Opener
  326.  
  327.  
  328.  
  329. Graph